/* Layout Fixes for Apex One Studio */

/* Fix navbar overlapping hero section */
.hero {
    /* Add more padding to account for the floating navbar */
    padding-top: 100px !important; /* Increase padding to prevent overlap with the fixed navbar */
}

/* Ensure proper spacing in responsive mode */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px !important; /* Slightly more padding on mobile due to potential hamburger menu expansion */
    }
}

/* Make sure the navbar stays on top with proper z-index */
.navbar {
    z-index: 1000; /* Ensure navbar has proper stacking context */
}

/* Enhanced hero elements */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.hero-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--genz-purple), var(--genz-blue));
    border-radius: 10px;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.hero-feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.hero-feature-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Animated wave effect */
.wave-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='rgba(255, 255, 255, 0.03)'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.7;
}

/* Testimonial badge */
.hero-testimonial {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    max-width: 300px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.testimonial-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.testimonial-quote {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-stars {
    margin-top: 0.8rem;
    display: flex;
    gap: 0.3rem;
    color: #ffbb00;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-feature {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-testimonial {
        position: static;
        margin: 2rem auto 0;
        width: 100%;
    }
}